Hybris UX Api icon

Hybris UX Api

(0 reviews)

TMF639 - getphysicalResource By ID

This operation allows to retrieve status of entities:

  1. Retrieve Status of SIM(ICCID) Numbers.
  2. Retrieve Status of MSISDN Numbers.
URL
http://[localhost]:[port]/ecom-ux/v1/{businessId}/physicalResource/{id}
URL PARAMS
nametypedescriptionrequired
businessIdString2 letter ISO 3166 country code (PA) identifying the business unit.Y
idStringUnique identifier of ICCID valueY
Headers
nametypedescriptionrequired
client-idStringThe client-id identifying the channel.Y
client-secretStringPassword associated with the client-id.Y
X-Correlation-IDStringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.N
Query Params
nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
@typeStringDefines the entity name. Eg: "SIM"Y (PA)
Data Model
Response Body
field nametypedescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)
idStringIdentifier of an instance of the resource. Required to be unique within the resource type.Y (PA)
hrefStringHyperlink referenceY (PA)
@typeStringdefines the resource nameY (PA)
resourceStatusStringStatus of the resource. Possible Values: [reserved,available]Y (PA)
resourceCharacteristic[].nameStringName of the characteristicY (PA for POSTPAID eSIM usecase & both PREPAID usecase)
resourceCharacteristic[].valueTypeStringData type of the value of the characteristicY (PA for POSTPAID eSIM usecase & both PREPAID usecase)
resourceCharacteristic[].valueStringValue of the characteristicY (PA for POSTPAID eSIM usecase & both PREPAID usecase)
relatedParty[].idStringunique identifierY (PA for eSIM usecase)
relatedParty[].roleStringRole played by the related partyY (PA for eSIM usecase)
relatedParty[].'@referredType'StringThe actual type of the target instance when needed for disambiguationY (PA for eSIM usecase)
nameStringdefines the resource nameY (PA for PREPAID MSISDN usecase)
descriptionStringdescription of the resourceY (PA for PREPAID MSISDN usecase)
operationalStateStringA resource operational state type such as enable, disableY (PA for PREPAID MSISDN usecase)
note.textStringText of the note (extra information for the entity)Y (PA for PREPAID MSISDN usecase)
resourceRelationship[].relationshipTypeStringType of the resource relationship, such as " reliesOn" if the resource needs another already owned resource to rely onY (PA for PREPAID MSISDN usecase)
resourceRelationship[].resourceobjectResource is an abstract entity that describes the common set of attributes shared by all concrete resources.Y (PA for PREPAID MSISDN usecase)
resourceRelationship.resource.idStringIdentifier of an instance of the resource.Y (PA for PREPAID MSISDN usecase)
resourceRelationship.resource.hrefStringHyperlink referenceY (PA for PREPAID MSISDN usecase)
resourceRelationship.resource.descriptionStringdescription of the resourceY (PA for PREPAID MSISDN usecase)
resourceCharacteristic subResource -Data Model
field nametypedescriptionrequired (mandatory-Y, optional-N,conditionallyMandatory-C/M, Not applicable- N/A)examples
resourceCharacteristic[].name == "IMSI"StringInternational Mobile Subscriber Identity, a unique identifier for a eSIM card.Y (PA for eSIM usecase)PA:
{
"name":"IMSI",
"valueType":"string",
"value":"71401100786000"
}
resourceCharacteristic[].name == "PIN1"StringPersonal Identification Number used to lock the eSIM card for security.Y (PA for eSIM usecase)PA:
{
"name":"PIN1",
"valueType":"string",
"value":"6012"
}
resourceCharacteristic[].name == "PIN2"StringSecondary PIN used for specific eSIM-related operations, like managing services.Y (PA for eSIM usecase)PA:
{
"name":"PIN2",
"valueType":"string",
"value":"2802"
}
resourceCharacteristic[].name == "PUK1"StringPersonal Unblocking Key used to unblock the eSIM after multiple incorrect PIN1 attempts.Y (PA for eSIM usecase)PA:
{
"name":"PUK1",
"valueType":"string",
"value":"3177"
}
resourceCharacteristic[].name == "PUK2"StringPersonal Unblocking Key used to unblock the eSIM after multiple incorrect PIN2 attempts.Y (PA for eSIM usecase)PA:
{
"name":"PUK2",
"valueType":"string",
"value":"3177"
}
resourceCharacteristic[].name == "prepaidInd"StringIndicates whether the eSIM card is for a prepaid service (True/False).Y (PA for eSIM usecase)PA:
{
"name":"prepaidInd",
"valueType":"boolean",
"value": false
}
resourceCharacteristic[].name == "ACTIVATION-CODE"StringA code used to activate the eSIM card for use with the network.Y (PA for eSIM usecase)PA:
{
"name":"ACTIVATION-CODE",
"valueType":"string",
"value": "1$sm-v4-099-a-gtm.pr.go-esim.com$0AFD51373501277C842B5B396BF73B87"
}
resourceCharacteristic[].name =="KI"Stringretrieving sim infoY (PA for PREPAID eSIM usecase)PA:
{ "name": "KI",
"valueType": "String",
"value": "07966D60F2195B3C2D4A8A36186E92BF"
}
resourceCharacteristic[].name =="SIM-PROVID"Stringretrieving sim infoY (PA for PREPAID eSIM usecase)PA:
{
"name": "SIM-PROVID",
"valueType": "String",
"value": "05.06"
}
resourceCharacteristic[].name =="PREPAID-DEALER"StringIndicates the name or type of dealer originally associated with prepaid activationY (PA for PREPAID eSIM usecase)PA:
{
"name": "PREPAID-DEALER",
"valueType": "String",
"value": "ECOM"
}
resourceCharacteristic[].name =="SERVICE"StringIndicates whether the current service is Prepaid or PostpaidY (PA for PREPAID eSIM & MSISDN usecase)PA:
{
"name": "SERVICE",
"valueType": "String",
"value": "PREPAID"
}
resourceCharacteristic[].name =="DataType"StringSpecifies the type of data plan associated with the numberY (PA for PREPAID MSISDN usecase)PA:
{
"name": "DataType",
"valueType": "string",
"value": "PREPAID"
}
resourceCharacteristic[].name =="MED-ACTION"Stringan attribute of the Border Gateway Protocol (BGP), to influence how a neighboring network routes incoming traffic.N (PA for PREPAID MSISDN usecase)PA:
{
"name": "MED-ACTION",
"valueType": "string",
"value": "PIPRE"
}
resourceCharacteristic[].name =="PORT-STATUS"StringStatus of the portN (PA for PREPAID MSISDN usecase)PA:
{
"name": "PORT-STATUS",
"valueType": "string",
"value": "PI-COMPLETE"
}
resourceCharacteristic[].name =="SERVICE-ORIGINAL"StringIndicates the original service type at the time of provisioning or activationN (PA for PREPAID MSISDN usecase)PA:
{
"name": "SERVICE-ORIGINAL",
"valueType": "string",
"value": "POSTPAID"
}
resourceCharacteristic[].name =="TERTIO-DATETIME"StringA telecommunications service activation and provisioning software with standard date time.N (PA for PREPAID MSISDN usecase)PA:
{
"name": "TERTIO-DATETIME",
"valueType": "string",
"value": "23/09/2024 20:57:58"
}
resourceCharacteristic[].name =="SDP"StringIndicates the Service Data Point (SDP) responsible for service management or ratingY (PA for PREPAID MSISDN usecase)PA:
{
"name": "SDP",
"valueType": "string",
"value": null
}
resourceCharacteristic[].name =="PortDetails"StringIt provides details of the port such as port type, foreign number status, and previous service providerY (PA for PREPAID MSISDN usecase)PA:
{
"name": "PortDetails",
"valueType": "object",
"value": []
}
resourceCharacteristic[].name=='PortDetails' subResource - Data Model
field nametypedescriptionrequired (mandatory-Y, optional-N, conditionallyMandatory-C/M, Not applicable- N/A)examples
resourceCharacteristic[].value[].name=="portOldSp"StringThe old service provider ID or codeY (PA for PREPAID MSISDN usecase)PA:
{
"name": "portOldSp",
"valueType": "string",
"value": "999"
}
resourceCharacteristic[].value[].name=="portType"StringIndicates the type of portY (PA for PREPAID MSISDN usecase)PA:
{
"name": "portType",
"valueType": "string",
"value": "PortIn"
}
resourceCharacteristic[].value[].name=="foreignNumber"StringIndicates whether this number is native to the
service provider or belongs to another
provider.
Y (PA for PREPAID MSISDN usecase)PA:
{
"name": "foreignNumber",
"valueType": "boolean",
"value": "Y"
}
Keyconsiderations
PA Implementation

ESIM(ICICID) or MSISDN Usecase

- For ICICID use case applicable queryParams are: '@type'
- Expected values for '@type' are : 'ESIM' or 'MSISDN'
Sample Response
{
    "category": "SIM",
    "serialNumber": "89507022821251900020",
    "resourceStatus": "Available",
    "resourceCharacteristic": [
        {
            "name": "pin1",
            "value": "1234"
        },
        {
            "name": "pin2",
            "value": "2345"
        },
        {
            "name": "puk1",
            "value": "34567891"
        },
        {
            "name": "puk2",
            "value": "45678901"
        },
        {
            "name": "prepaidInd",
            "value": "N"
        },
        {
            "name": "sim-provid",
            "value": "05.03"
        }
    ],
    "resourceRelationship": [
        {
            "relationshipType": "paired"
        },
        {
            "resourceRelationshipCharacteristic": [
                {
                    "name": "imsi",
                    "value": "714012231500002"
                }
            ]
        }
    ]
}

Reviews